<template>
  <div class="listItem">
    <div class="left">
      <div class="num">{{ index + 1 }}</div>
      <div class="nam">{{ item.skuName }}</div>
    </div>
    <div class="right">{{ item.count }}单</div>
  </div>
</template>

<script>
export default {
  props: {
    index: {
      type: Number,
      requestd: true
    },
    item: {
      type: Object,
      requestd: true
    }
  }
}
</script>

<style lang="scss" scoped>
.listItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 25px;
  .left {
    display: flex;
    align-items: center;
    .num {
      width: 22px;
      height: 20px;
      line-height: 15px;
      margin: 0 30px 0 8px;
      font-size: 12px;
      text-align: center;
      background: url() no-repeat center;
      color: #e9b499;
    }
  }
  .right {
    color: #737589;
    margin-right: 10px;
  }
}
</style>
